package org.yzz.org.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.yzz.base.mapper.BaseMapper;
import org.yzz.org.domain.Department;
import org.yzz.org.query.DepartmentQuery;

import java.io.Serializable;
import java.util.List;

@Repository
public interface DepartmentMapper extends BaseMapper<Department> {


    void batchDelete(@Param("ids") List<Long> ids);

    List<Department> deptTree();
}
